package org.shiki.hrm.service;

import org.shiki.hrm.domain.Course;
import com.baomidou.mybatisplus.service.IService;
import org.shiki.hrm.dto.CourseDto;
import org.shiki.hrm.query.CourseDocQuery;
import org.shiki.hrm.util.AjaxResult;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author shiki
 * @since 2022-03-12
 */
public interface ICourseService extends IService<Course> {

	AjaxResult saveCourse(CourseDto dto);

	AjaxResult onLineCourse(List<Long> ids);

	AjaxResult offLineCourse(List<Long> ids);

	AjaxResult queryCourses(CourseDocQuery query);
}
